package com.lnking.lnkingplace.model.dto.fourEnterprise;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableInfo(tableName = "四上企业表")
public class FourEnterpriseExportDto {

    @ApiModelProperty(value = "企业类型")
    @TableColumn(columnName = "企业类型",column = "0")
    private String enterpriseType;

    @ApiModelProperty(value = "企业名称")
    @TableColumn(columnName = "企业名称",column = "1")
    private String enterpriseName;

    @ApiModelProperty(value = "当月营收")
    @TableColumn(columnName = "当月营收",column = "2")
    private String StrReveue;

    @ApiModelProperty(value = "当月工资总额")
    @TableColumn(columnName = "当月工资总额",column = "3")
    private String strWagesMonth;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @TableColumn(columnName = "创建时间",column = "4")
    private LocalDateTime createTime;

    private Boolean delFlag;

    @ApiModelProperty(value = "季度")
    @TableColumn(columnName = "季度",column = "5")
    private String season;

    @ApiModelProperty(value = "年份")
    @TableColumn(columnName = "年份",column = "6")
    private Integer year;
}
